/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package presentation;

import formatters.Formatter;
import runtime.RuntimeInstance;

/**
 *
 * @author Alejandro
 */
public abstract class PresentationElement implements RuntimeInstance {
    protected String name;
    protected String alias;
    protected String value;

    protected PresentationElement() {
        name = "";
        value = "";
        alias = "";
    }

    public abstract void acceptView(Formatter f);
    public abstract void acceptEdit(Formatter f);
    public abstract void acceptInput(Formatter f);

    public String getName() {
        return name;
    }

    public String getValue() {
        return value;
    }

    public String getAlias() {
        return alias;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public void setValue(String value) {
        this.value = value;
    }
    
    public void setAlias(String alias) {
        this.alias = alias;
    }
}
